/*
 * Copyright (C) 2016  Nicola Spanti (RyDroid) <dev@nicola-spanti.info>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */


#ifndef PLANET_WARS_2D_RT_CORE_OBSERVER_CREATORS_H
#define PLANET_WARS_2D_RT_CORE_OBSERVER_CREATORS_H


#include "PlanetWars2dRT-core/utils/observer_essential.h"
#include <stddef.h>


EXTERN_C_BEGIN


void
observer_useless_handler(void* an_observable,
			 void* observer_data,
			 void* event_data);

struct observer_t
observer_useless_create(void);


void
observer_counter_handler(void* an_observable,
			 void* observer_data,
			 void* event_data);

struct observer_t
observer_counter_create(size_t* count);


EXTERN_C_END


#endif
